package com.gao.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;

/**
 * @author Gao
 */
@Data
public class Product implements Serializable {
    private Integer productId;
    private String productName;
    private Double price;
    private Integer stock;
    private String img;

    private Set<Comment> comments = new LinkedHashSet<>();
}